__author__ = 'East'

class Dog(object):
    def __init__(self, name):
        self.name = name

    @staticmethod   # 实际上和类没什么关系，将类的关系
    def eat(self):
        print('%s is eating %s' % (self.name, 'ss'))

    def talk(self):
        print('%s is talking' % self.name)

d = Dog('ChengRonghua')
d.eat(d)
d.talk()